package com.xxxx.server;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//SpringBoot启动注解
@SpringBootApplication
//启动Mapper扫描
@MapperScan("com.xxxx.server.mapper")
@EnableScheduling
@EnableSwaggerBootstrapUI
@EnableSwagger2
public class YebApplication {
    public static void main(String[] args) {
        SpringApplication.run(YebApplication.class,args);
    }
}
